<?php

namespace addons\qingdongams\model;

use app\common\library\StaffAuth;
use think\Model;

/**
 *跟进记录
 */
class PersonOrder extends Model
{

    protected $name = 'qingdongams_person_order';
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';





    public function getCreatetimeAttr($value)
    {
        return date('Y-m-d H:i:s', $value);
    }




}
